package com.kaduoxee.ebooks.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@TableName("fiction")
public class Fiction implements Serializable {

    private static final long serialVersionUID = -4736660621189754995L;
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String bookName;
    private String author;
    private String cover;
    private String introduce;
    private String newest;
    private Timestamp createDate;
    private String type;
    private String state;
    private String url;
    private Integer views;

}
